package common.beans;

import lombok.Data;

import java.io.Serializable;

@Data
public class PermissionDto implements Serializable {

    private static final long serialVersionUID = 1L;

    private String name;

    private Integer value;

    private String nameUrl;

    public PermissionDto(String name, Integer value, String nameUrl) {
        this.name = name;
        this.value = value;
        this.nameUrl = nameUrl;
    }

    public PermissionDto(String name, Integer value) {
        this.name = name;
        this.value = value;
    }

    public PermissionDto() {
    }
}
